namespace _MODULE_
{
	namespace _GAME_
	{
		struct GameControllCommandStates
		{
			union 
			{
				int Flag;
				struct
				{
					int bMoveUp:1;
					int bMoveDown:1;
					int bMoveLeft:1;
					int bMoveRight:1;
					int bMoveForward:1;
					int bMoveBackward:1;
				};
			}MoveFlags;

			union 
			{
				int Flag;
				struct
				{
					int bRotateRollCW:1;
					int bRotateRollCCW:1;
					int bRotatePitchCW:1;
					int bRotatePitchCCW:1;
					int bRotateYawCW:1;
					int bRotateYawCCW:1;

				};
			}RotateFlags;

			union 
			{
				int Flag;
				struct
				{
					int bControllPrimaryWeapon:1;
					int bControllSecondaryWeapon:1;
				
				};
			}ControllFlags;

			void Clear()
			{
				MoveFlags.Flag=0;
				RotateFlags.Flag=0;
				ControllFlags.Flag=0;
			}
		};

	}
}